<template>
    <div class="app">
        <div class="head">
            <p>订单查询</p>
        </div>
        <div class="back">
            <el-button-group>
                <el-button type="primary" icon="el-icon-arrow-left"
                    style="background: transparent;border: none; color: black;padding-left: 6px;"
                    @click="goBack()">返回主界面</el-button>
            </el-button-group>
        </div>



    </div>
</template>
  
<script>
export default {
    //全部订单
    name: "userOrders",
    data() {
        return {
            
        };
    },

    mounted() {
       
    },

    methods: {
        goBack() {
            // window.history.back();
            this.$router.push("/user");

        },
    
    },
}
</script>
  
<style scoped>
.app {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
}

.app .head {
  width: 100%;
  height: 50px;
  /* line-height: 50px; */
  background-color: rgb(235, 24, 67);
  color: aliceblue;
  text-align: center;
 /* margin: 0px;
 padding: 0px; */
}


</style>